package cn.zhoutingrui.pethome.system.shop.domain;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.Date;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.zhoutingrui.pethome.base.domain.BaseDomain;
import cn.zhoutingrui.pethome.system.emp.domain.Employee;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * <p>
 * 
 * </p>
 *
 * @author ztr
 * @since 2023-01-24
 */
@Data
public class Shop extends BaseDomain{

    private static final long serialVersionUID = 1L;
    @Excel(name = "店铺名" ,orderNum = "1", width = 30, isImportField = "true_st")
    private String name;
    @Excel(name = "店长手机" ,orderNum = "2", width = 30, isImportField = "true_st")
    private String tel;
    /**
     * 待审核 审核通过 驳回
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @Excel(name = "创建时间" ,orderNum = "3", width = 30,  databaseFormat = "yyyy-MM-dd-HH-mm-ss", format = "yyyy-MM-dd",isImportField = "true_st")
    private Date registerTime;
    @Excel(name = "状态" ,orderNum = "4", width = 30, isImportField = "true_st")
    private Integer state;
    @Excel(name = "地址" ,orderNum = "5", width = 30, isImportField = "true_st")
    private String address;
    @Excel(name = "店铺logo" ,orderNum = "6", width = 30, isImportField = "true_st")
    private String logo;
    @Excel(name = "店长id" ,orderNum = "7", width = 30, isImportField = "true_st")
    private Long adminId;
    private Employee admin;

}
